﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Model
{
    [DataContract]
    /// <summary>
    /// Author: Sissi Zeng
    /// Date:2012-8-7 20:00
    /// </summary>
    public class Student
    {
        /// <summary>
        /// Field
        /// </summary>
        private int _StudentId;
        private string _StudentName;
        private string _StudentGender;
        private int _ClassId;

        /// <summary>
        /// Constructor
        /// </summary>
        public Student()
        {
        }
        [DataMember]
        /// <summary>
        /// ClassId
        /// </summary>
        public int ClassId
        {
            get { return _ClassId; }
            set { _ClassId = value; }
        }
        [DataMember]
        /// <summary>
        /// StudentGender
        /// </summary>
        public string StudentGender
        {
            get { return _StudentGender; }
            set { _StudentGender = value; }
        }
        [DataMember]
        /// <summary>
        /// StudentId Primary Key
        /// </summary>
        public int StudentId
        {
            get { return _StudentId; }
            set { _StudentId = value; }
        }
        [DataMember]
        /// <summary>
        /// StudentName
        /// </summary>
        public string StudentName
        {
            get { return _StudentName; }
            set { _StudentName = value; }
        }
    }
}
